package com.wtwd.campus.vcom.common;

/**
 * @Author: ldaoliang
 * @DateTime: 2022/1/5 10:21
 * @Description:
 */
public class Constant {
    /**
     * 威科姆类型的客户的token前缀
     */
    public static final String VCOM_TYPE_TOKEN_PREFIX = "VCOM_";

    /**
     * 指令序列号前缀
     */
    public static final String COMMAND_PREFIX = "COMMANDNUMBER_";

    /**
     * requestId前缀
     */
    public static final String REQUESTID_PREFIX = "REQUESTID_";

    /**
     * 请求头的token
     */
    public static final String HEAD_TOKEN_KEY = "AccessToken";

    /**
     * 指令类型
     */
    public static final int COMMAND_FACTORY_RESET=7;
    public static final int COMMAND_TYPE_NOT_DISTURB = 6;
    public static final int COMMAND_TYPE_MESSAGE = 5;
    public static final int COMMAND_TYPE_SHORT_MESSAGE = 4;
    public static final int COMMAND_TYPE_WHITE_LIST = 3;
    public static final int COMMAND_TYPE_FAMILY_NO = 2;
    public static final int COMMAND_TYPE_SOS = 1;

    public static final int STATUS_NOT_SEND = 0;
    public static final int STATUS_SEND = 1;
    public static final int STATUS_COMPLETE = 2;
    public static final int STATUS_FAILED = 3;

    public static final int NORMAL = 1;
    public static final int WAITING_EFFECT = 2;

    /**
     * 号码的类型 1-sos 2-亲情号 3-白名单
     */
    public static final int PHONE_SOS = 1;
    public static final int PHONE_FAMILY = 2;
    public static final int PHONE_WHITE = 3;

    /**
     * 号码的状态
     */
    public static final int PHONE_STATUS_STAY = 0;
    public static final int PHONE_STATUS_NORMAL = 1;

    /**
     * 威科姆的设备类型以及
     */
    public static final int VCOM_DEVICE_TYPE = 5;
    public static final int VCOM_CUSTOMER_ID = 1;

    /**
     * 威科姆存储学生id的前缀
     */
    public static final String VCOM_STUDENT_ID_PRE = "VCOM_STUID_PRE_";

    /**
     * 威科姆h5围栏的类型： 0圆形 1多边形
     */
    public static final int H5_FENCE_TYPE_CIRCLE = 0;
    public static final int H5_FENCE_TYPE_POLYGON = 1;

    /**
     * 威科姆的告警类型
     */
    public static final int WARNING_SOS = 0;
    public static final int WARNING_LOW_BATTERY = 1;
    public static final int WARNING_SHUT_DOWN = 2;
    public static final int WARNING_H5_ENTER_FENCE = 3;
    public static final int WARNING_H5_LEFT_FENCE = 4;
    public static final int WARNING_PLAT_ENTER_FENCE = 5;
    public static final int WARNING_PLAT_LEFT_FENCE = 6;
    public static final int WARNING_POWER_ON = 7;



}
